<template>
  <div class="login">
    {{data}}
    <van-button type="primary">主要按钮</van-button>
  </div>
</template>

<script>
import { reactive, toRefs } from 'vue'
export default {
  setup () {
    const state = reactive({
      data: 1
    })
    return {
      ...toRefs(state)
    }
  }
}
</script>

<style lang='scss' scoped>
  .login{

  }
</style>
